import React from 'react';
import ReactDOM from 'react-dom/client';
// import App from './App';
// import App from './components/Form';
import App from './components/Card';
import { ChakraProvider,CSSReset, extendTheme } from '@chakra-ui/react';
import theme from './theme'

const root = ReactDOM.createRoot(document.getElementById('root'));
// 1.设置默认颜色模式
// theme.config.initialColorMode = 'dark'

// 2.设置默认操作系统
// theme.config.useSystemColorMode = true

console.log(theme)


root.render(
  <ChakraProvider theme={theme}>
    <CSSReset/>
    <App />
  </ChakraProvider>
)
